/*

 * Support: http://www.huqiuhsc.com
 * License: http://www.huqiuhsc.com/license
 */
package com.flycent.hqhs.bean;

import java.util.List;

/**
 * Entity - 商品分类
 * 
 * @author www.flycent.com.cn
 * @version 3.0
 */
public class ProductCategory extends BaseEntity {
	/** APP 布局 */
	public enum AppLayout { LIST, GRID }
	
	/** 名称 */
	private String name;
	/** 层级 */
	private Integer grade;
	/** 下级分类 */
	private List<ProductCategory> children;
	
	private AppLayout appLayout; // LIST/GRID
	private String appImage;
	private String webImage;
	
	
	public String getName() {
		return name;
	}

	public Integer getGrade() {
		return grade;
	}

	public List<ProductCategory> getChildren() {
		return children;
	}

	public String getAppImage() {
		return appImage;
	}

	public String getWebImage() {
		return webImage;
	}

	public AppLayout getAppLayout() {
		return appLayout;
	}

	// 勿改
	@Override
	public String toString() {
		return name;
	}
}